.module
  - cache(@plugin.name,:ttl=>15.minutes) do
    %h4= @config["title"]
    - @nb=rand((@user.photos.length)-1)
    %ul
      %li
        %a{:href=>@user.photos_url}
          %img{:src=>@user.photos[@nb].source('Small'),:width=>"75px",:height=>"75px",:border=>"0",:alt=>"flickr"}/